package edu.whu.notepal.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * @author 陈磊
 * @TableName t_group
 */
@TableName(value ="t_group")
@Data
public class Group implements Serializable {
    @TableId
    private Long noteId;

    private Long publisherId;

    private String name;

    private Integer exceptedNumbers;

    private Integer actualNumbers;

    @TableField(exist = false)
    private Long columnId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private static final long serialVersionUID = 1L;
}